package com.china08.yxyapi.entity.db.huodong.lecture;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.china08.yxyapi.entity.BaseEntity;

/**
 * 备课包大赛资源结果统计, 按照教师 </br>
 * 在yw中需要查询 , yx 的学校信息, 可以先在本表中查询是否有数据,然后进行更新.
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "yxy_huodong_res_result_tea", catalog = "yxy_huodong", uniqueConstraints = {
		@UniqueConstraint(columnNames = { "school_id", "tea_id" }) })
public class YxyHuodongResResultTea extends BaseEntity {

	@Column(name = "tea_id", columnDefinition = "varchar(32) comment '教师id' ")
	private String teaId;

	@Column(columnDefinition = "varchar(255) comment '教师名称' ")
	private String teaName;

	/**
	 * 学校id
	 */
	@Column(name = "school_id", columnDefinition = "varchar(255) comment '学校id' ")
	private String schoolId;

	/**
	 * 学校名称
	 */
	@Column(name = "school_nick")
	private String schoolNick;

	/** 行政区域:省ID */
	@Column(name = "area_id_province")
	private String areaIdProvince;

	/** 行政区域:省ID */
	@Column(name = "area_name_province")
	private String areaNameProvince;

	/** 行政区域:市ID */
	@Column(name = "area_id_city")
	private String areaIdCity;

	/** 行政区域:市ID */
	@Column(name = "area_name_city")
	private String areaNameCity;

	/** 行政区域:区县ID */
	@Column(name = "area_id_district")
	private String areaIdDistrict;

	/** 行政区域:区县ID */
	@Column(name = "area_name_district")
	private String areaNameDistrict;

	@Column(columnDefinition = "int default 0 comment '资源总数量' ")
	private Integer resCount = 0;

	@Column(columnDefinition = "int default 0 comment '教案数量' ")
	private Integer teachingPlanCount = 0;

	@Column(columnDefinition = "int default 0 comment '课件数量' ")
	private Integer coursewareCount = 0;

	@Column(columnDefinition = "int default 0 comment '试题数量' ")
	private Integer quesCount = 0;

	@Column(columnDefinition = "int default 0 comment '微课数量' ")
	private Integer weikeCount = 0;

	@Column(columnDefinition = "int default 0 comment '素材数量' ")
	private Integer metterCount = 0;

	@Column(columnDefinition = "int default 0 comment '其他数量' ")
	private Integer otherCount = 0;

	public String getTeaId() {
		return teaId;
	}

	public void setTeaId(String teaId) {
		this.teaId = teaId;
	}

	public String getTeaName() {
		return teaName;
	}

	public void setTeaName(String teaName) {
		this.teaName = teaName;
	}

	public String getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}

	public String getSchoolNick() {
		return schoolNick;
	}

	public void setSchoolNick(String schoolNick) {
		this.schoolNick = schoolNick;
	}

	public String getAreaIdProvince() {
		return areaIdProvince;
	}

	public void setAreaIdProvince(String areaIdProvince) {
		this.areaIdProvince = areaIdProvince;
	}

	public String getAreaNameProvince() {
		return areaNameProvince;
	}

	public void setAreaNameProvince(String areaNameProvince) {
		this.areaNameProvince = areaNameProvince;
	}

	public String getAreaIdCity() {
		return areaIdCity;
	}

	public void setAreaIdCity(String areaIdCity) {
		this.areaIdCity = areaIdCity;
	}

	public String getAreaNameCity() {
		return areaNameCity;
	}

	public void setAreaNameCity(String areaNameCity) {
		this.areaNameCity = areaNameCity;
	}

	public String getAreaIdDistrict() {
		return areaIdDistrict;
	}

	public void setAreaIdDistrict(String areaIdDistrict) {
		this.areaIdDistrict = areaIdDistrict;
	}

	public String getAreaNameDistrict() {
		return areaNameDistrict;
	}

	public void setAreaNameDistrict(String areaNameDistrict) {
		this.areaNameDistrict = areaNameDistrict;
	}

	public Integer getResCount() {
		return resCount;
	}

	public void setResCount(Integer resCount) {
		this.resCount = resCount;
	}

	public Integer getTeachingPlanCount() {
		return teachingPlanCount;
	}

	public void setTeachingPlanCount(Integer teachingPlanCount) {
		this.teachingPlanCount = teachingPlanCount;
	}

	public Integer getCoursewareCount() {
		return coursewareCount;
	}

	public void setCoursewareCount(Integer coursewareCount) {
		this.coursewareCount = coursewareCount;
	}

	public Integer getQuesCount() {
		return quesCount;
	}

	public void setQuesCount(Integer quesCount) {
		this.quesCount = quesCount;
	}

	public Integer getWeikeCount() {
		return weikeCount;
	}

	public void setWeikeCount(Integer weikeCount) {
		this.weikeCount = weikeCount;
	}

	public Integer getMetterCount() {
		return metterCount;
	}

	public void setMetterCount(Integer metterCount) {
		this.metterCount = metterCount;
	}

	public Integer getOtherCount() {
		return otherCount;
	}

	public void setOtherCount(Integer otherCount) {
		this.otherCount = otherCount;
	}

}
